//
//  API.h
//  百车易车险
//
//  Created by chenxu on 15/3/8.
//  Copyright (c) 2015年 chenxu. All rights reserved.
//

#ifndef ______API_h
#define ______API_h

#define CookieData      @"sessionCookies"

#pragma mark BaseUrl

#define kNetPath_Base         @"http://101.227.244.29:80/"
#define kNetPath_ImgBase        @"http://101.227.244.29:8066/"
#define kBaiduPath_Base       @"http://channel.api.duapp.com/"


#pragma 端

#define isUserClient ([[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.baicheyi.carInsurance"])?YES:NO
#define isComClient !isUserClient


#pragma mark 百度云推送



#pragma 自己的端
#define kAPIkey_ios_self              ([[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.baicheyi.carInsurance"])?kAPIkey_ios_user:kAPIkey_ios_com

#pragma 对面的端
#define kAPIkey_ios              ([[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.baicheyi.carInsurance"])?kAPIkey_ios_com:kAPIkey_ios_user

#define kSecretkey_ios              ([[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.baicheyi.carInsurance"])?kSecretkey_ios_com:kSecretkey_ios_user



#define kAPIkey_ios_user               @"i7RSZQIuUjnqSPNhooQTxP2V"
#define kSecretkey_ios_user            @"w37nUmBQUzqHldeTSQfSG4iFTZRxfGFb"

#define kAPIkey_ios_com               @"5IvuSrt686qGziHGMBnxrFhm"
#define kSecretkey_ios_com            @"3uTE3NhGreV9BSnpUnvEdwWfVlrqOAKn"

#define kAPIkey_android               @"GqCTcG4FBNQQydxx5QpHdnuo"
#define kSecretkey_android            @"LE7R9Xb26iUQ6sB2uIO8j5WhllLqE91C"

#pragma mark shareSDK
#define kShare_key       @"6cab2fdd6c5f"
#define kShare_secret     @"3cf86b33c14987ae3fd962950dc58ad6"

#endif
